home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / toolbox / logm < prev    next >
Text File  |  1995-11-20  |  499b  |  25 lines

  1. //-------------------------------------------------------------------//
  2.  
  3. //  Syntax:    logm ( A )
  4.  
  5. //  Description:
  6.  
  7. //  The logm function computes the matrix natural logarithm. Logm uses
  8. //  Parlett's method in the rfile funm.r.
  9.  
  10. //  Another way to compute logm (A) is to:
  11.  
  12. //  logm ( X ) = e.vec * log (e.val) / e.vec
  13.  
  14. //  See Also: expm, funm
  15. //-------------------------------------------------------------------//
  16.  
  17. //  Dependencies
  18.  
  19. require funm
  20.  
  21. logm = function ( X )
  22. {
  23.   return funm (X, log)
  24. };
  25.